Intersoft WebTextEditor Documentation
How-to: Customize maximum text suggestion
See Also Send Feedback
Intersoft WebTextEditor > WebSpellChecker > Maximum text suggestion > How-to: Customize maximum text suggestion

Glossary Item Box

WebSpellChecker provides a method to customize maximum text suggestion.

In this topic, you will learn how to customize maximum text suggestion.

To customize maximum text suggestion

  1. Create a textbox and HTML button.
  2. Drag WebSpellChecker control to WebForm.
  3. Set WebSpellChecker's TargetControlId property to the TextBox's id.
  4. Set TargetControlIdValue property to value.
  5. Set MaximumTextSuggestion to 5.
  6. Create a function called AddSpellChecker() and use CheckSpell() method to implement spell checker.
    JavaScript Copy Code
    function CheckSpell()
    {    
       var sp = ISGetObject("WebSpellChecker1");    
       sp.CheckSpell();
    }
    

  7. Invoke AddSpellChecker() from the HTML button.

See Also

©2013. All Rights Reserved.